Cross-protocol communication in domain name systems

ABSTRACT

Systems and methods for processing domain name system requests in accordance with subscriber information are provided. A request for domain name information can be correlated with subscriber information using a subscriber identifier to resolve the domain name information at a domain name system (DNS) nameserver. The subscriber identifier and/or subscriber information may be transmitted from a DNS nameserver to a webserver using the domain name information provided in response to the subscriber&#39;s DNS queries. The subscriber identifier and/or information may be used in delivering a landing page or in facilitating proxying of resource requests for the requested domain.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.14/596,579, filed on Jan. 14, 2015, and entitled “Cross-ProtocolCommunication in Domain Name Systems,” which is a divisional applicationof U.S. patent application Ser. No. 13/448,368, entitled “Cross-ProtocolCommunication In Domain Name System,” filed Apr. 16, 2012, now U.S. Pat.No. 8,966,122, the entire contents of which are hereby incorporated byreference.

BACKGROUND OF THE INVENTIONS Field of the Invention

Embodiments in accordance with the present disclosure relate to computernetworks, and particularly to processing domain name system (DNS)information.

Description of the Related Art

Network resources such as those available via the Internet are accessedaccording to Internet Protocol (IP) addresses. IP addresses arerepresented numerically, traditionally as a quartet of values having theform 111.111.111.111. From the early inception of network computing,familiar alphanumeric name-based addressing has been used to allow usersto more easily locate and remember the addresses for resources. Forexample, domain names are assigned to computing servers and clients. Thedomain name system facilitates the translation between IP addresses anddomain names by maintaining accessible records that associate one ormore domain names with one or more IP addresses.

While early network implementations could utilize a single periodicallydistributed ASCII file to translate between domain names and IPaddresses, modern networks such as the Internet rely on the domain namesystem (DNS) for the resolution of names and addresses. FIG. 1 is asimplified block diagram illustrating traditional DNS processing. Aclient computing device 102 includes a resolver 104 for initiating DNSrequests. The resolver may be a standalone component such as a softwaremodule of the client, or may be embedded within various applicationssuch as web browsers, file transfer protocol programs, emailapplications, and the like that utilize Internet resources. When theclient requests an Internet resource such as a web page or delivery ofan email message, the resolver is charged with determining the IPaddress(es) of the requested resource so that the appropriate requestcan be issued to the appropriate address. The resolver is traditionallyconfigured with the addresses of a group of ISP DNS Nameservers 110 thathandle recursive DNS processing for the client device. As is often thecase, the group of nameservers is provided by the Internet ServiceProvider (ISP) for the client device, although this isn't required.Nameservers 110 are recursive nameservers which resolve DNS requestsusing a recursive process that accesses various other nameservers inorder to satisfy a given query.

Consider an example DNS request 150 from client 102 to nameserver 112for the domain name information of “www.opendns.com”. The ISP DNSnameserver first checks a local cache to attempt to resolve the request.The ISP DNS nameserver maintains the local cache with domain namerecords that have already been resolved to improve performance inresponding to subsequent DNS requests. If nameserver 112 is maintainingthe requested domain name in the local cache, it will issue a DNSresponse 152 to the client with the domain name record including the IPaddress of “www.opendns.com”.

If the ISP DNS nameserver 112 does not have an entry for the requesteddomain name, it will launch recursive processing using authoritative DNSnameservers 120 and/or root DNS nameservers 130. An authoritativenameserver maintains an authoritative or master list for a zone which isa group of computing devices. Recursive DNS nameservers obtain domainname information such as the IP address of a requested resource fromauthoritative nameservers. The root DNS nameservers are alsoauthoritative DNS nameservers. They are called root DNS nameserversbecause they contain the authoritative domain name information for a setof top level domains (TLDs) in the so-called root zone. For example theroot DNS nameservers contain the IP addresses for finding domain nameinformation for lower level domains in the top level domains. The toplevel domains include the generic top-level domains (gTLD) of .com,.org, .net, etc.

Nameserver 112 first issues a DNS request 154 to root DNS nameservers130. The root DNS nameservers 130 can include multiple nameservers, oneor more of which can be issued a request for the needed information. Oneof the nameservers 132 responds with a DNS response 156 including the IPaddress of one or more authoritative name servers for the “.com” domain.When ISP DNS nameserver 112 obtains the IP address for the “.com”domain, it issues another DNS request 158 to the specified one of theauthoritative DNS nameservers 120. The specified authoritativenameserver will issue a DNS response 160 with the IP address of one ormore nameservers for the “opendns.com” domain. This process repeatsbetween the ISP DNS nameserver and the authoritative name servers 120until the ISP DNS nameserver receives the IP address for“www.opendns.com”. The client 102 application can then issue theresource request to the appropriate computer, such as an HTTP request tothe server at the corresponding IP address.

FIG. 2 is a simplified block diagram of a typical authoritative DNSnameserver 120 as shown in FIG. 1 that can store domain name records. Inthis example, the authoritative DNS nameserver 120 is a computer systemwith a processor 150 coupled to a communications interface 160 and amemory or storage 170 via a system bus 152. The communications interface160 exchanges data with a communications network, such as the Internet,via line 154. The processor 150 receives DNS requests from the Internetand resolves the DNS requests based on domain name records, such as aDNS record 180 stored in memory 170. The DNS record 180 includes adomain name 182, which is used as a key to lookup a corresponding IPaddress 184, and includes a time-to-live (TTL) value 186. The TTL valuefor the DNS record can be set by the administrator of the authoritativeDNS nameserver. The TTL value is provided as part of the DNS response toDNS requests and is used by the receiving nameservers to control howlong the DNS record should be maintained and treated as valid.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a simplified block diagram of a computer network depictingtraditional processing of DNS requests.

FIG. 2 is a simplified block diagram of an example of an authoritativeDNS name server.

FIG. 3 is a simplified block diagram of a computing system including arecursive DNS nameserver in accordance with one embodiment of thedisclosed technology.

FIG. 4 is a timing diagram depicting traffic between various componentsof FIG. 3 when processing a DNS request in one embodiment.

FIG. 5 is a flowchart describing a method of processing a DNS requestsin accordance with one embodiment.

FIG. 6 is a flowchart describing a method of processing a DNS requestsin accordance with one embodiment.

FIG. 7 is a flowchart describing a method of processing a resourcerequest to determine subscriber information in accordance with oneembodiment.

FIG. 8 is a timing diagram depicting traffic between various componentsof FIG. 3 when processing a DNS request in one embodiment.

FIG. 9 is a flowchart describing a method processing resource requestsat a block page service in accordance with one embodiment.

FIG. 10 is a timing diagram depicting traffic between various componentsof FIG. 3 when processing a DNS request in one embodiment.

FIG. 11 is a simplified block diagram of a computing device that can beused to implement various embodiments of the disclosed technology.

FIG. 12 depicts the structure of an example of a DNS resource record.

FIG. 13 depicts the structure of an example of a DNS message.

DETAILED DESCRIPTION

Systems and methods for processing domain name system requests inaccordance with subscriber information are provided. A request fordomain name information can be correlated with subscriber preferencesusing a subscriber identifier to resolve the domain name information ata domain name system (DNS) nameserver. Access to flagged domain namesmay be blocked or proxied in accordance with the subscriber preferences.In response to a flagged domain name, a client device may be redirectedto a web server of an alternate domain that can provide a landingwebpage or other alternate resource. The web server may alternatelyproxy the subscriber requests for the requested domain. The subscriberidentifier and/or subscriber preferences may be transmitted from the DNSnameserver to the webserver using the domain name information providedin response to the subscriber's DNS queries. The subscriber identifierand/or preferences may be used in delivering the landing page or infacilitating proxying of the resource requests for the requested domain.

In one embodiment, a method of domain name system (DNS) processing isprovided that includes receiving at a DNS nameserver a request fortarget domain name information. The nameserver determines that therequest is associated with a first subscriber of DNS resolution servicesprovided by the DNS nameserver and in response, accesses a firstsubscriber identifier and subscriber information associated with thefirst subscriber identifier. The nameserver determines that the firstsubscriber is not permitted direct access to the target domain and inturn generates a first DNS reply including domain name informationassociated with a block page service at a web server associated with thenameserver.

The block page service receives a resulting resource request from thefirst subscriber, specifying the domain name information of the blockpage service but requesting a resource from the target domain. If therequest does not include a bypass cookie for the target domain name, theblock page service redirects the first subscriber to an identificationservice. The nameserver then receives a request for domain nameinformation of the identification service from the user. The nameserveraccesses the first subscriber identifier and embeds at least a portionof the identifier into the domain name information for theidentification service. The nameserver then generates a reply includingthe domain name information with the embedded first subscriberidentifier. The identification service then receives a resource requestfrom the first subscriber that passes the embedded subscriberinformation. The identification service determines the first subscriberidentifier and generates a cookie for the block page service thatincludes the first subscriber identifier. The identification servicealso generates a redirect to the block page service, passing the cookiewith the subscriber identifier. The block page service then receives aresource request with the cookie having the subscriber identifier. Theblock page service can access subscriber information based on thesubscriber identifier to determine how to respond to the resourcerequest. For example, if the first subscriber is permitted access to thetarget domain, the block page service can generate a cookie for thetarget domain and a redirect for the first subscriber to the targetdomain. Because of the nameserver resolution, the subsequent resourcerequest for the target domain will be received at the block pageservice. The block page service can proxy the first subscriber's requestbased on the cookie. If the first subscriber is not permitted access,the block page service may use the first subscriber identifier togenerate a customized landing or blocking page to provide in response tothe user's request for the target domain.

FIG. 3 is a block diagram of a system for processing domain name system(DNS) requests in accordance with one embodiment of the presentdisclosure. Subscriber networks 310, web servers 320 and a recursive DNScluster 330 are each in communication with one or more network(s) 302.Although two subscriber networks with four client devices each areshown, any number of subscriber networks or client devices may be used.

Network(s) 302 and 310 can include any combination of local areanetworks, wide area networks (WAN), the Internet, and/or any othernetwork. The recursive DNS clusters can vary by implementation andinclude any suitable computing system such as a server, group, grid, ordistributed platform of computer systems configured to respond torequests for domain name information. While the cluster in FIG. 3 isdepicted with multiple recursive DNS nameservers, other embodiments mayinclude a single computing system within a cluster such as a singleserver. The individual recursive nameservers in a cluster can be formedof hardware and/or software configured as described for domain nameresolution. By way of non-limiting example, the various nameservers caninclude personal computers, servers, workstations, mainframes, etc.

Each of the recursive DNS nameservers in a cluster resolves requests fordomain name information from other computing devices such as clientdevices 312 operated by individual users on a subscriber network 310.The nameservers 332 in cluster 330 include or are in communication witha local cache 340 and subscriber database 350. The domain nameinformation stored in the cache can be any type of informationassociated with a domain name. Some examples of domain name informationare resource records, such as “A” records used for storing a 32-bit IPaddress associated with a domain name, “AAAA” records used for storingan IPv6 128-bit address associated with a domain name, and “CNAME” orcanonical name records for a DNS alias. A request for domain nameinformation can include a packet, cell, message, or signal used to askfor domain name information.

The cache at each cluster facilitates more efficient responses to DNSrequests by storing domain name information such as DNS recordscorresponding to previously received DNS requests. The cache may alsostore other domain name information, such as pre-fetched domain nameinformation. If the cache contains the DNS record(s) needed to respondto a DNS request, the DNS nameserver can return the cached informationwithout contacting other nameservers to fulfill the request.

When DNS requests from client 312 or other computing devices cannot befulfilled with cached domain name information, the recursive DNS clusterinitiates recursive processing to determine the needed information. Forexample, a DNS nameserver 332 may first issue a DNS request to one ofthe root servers for generic top level domain information, followed byone or more DNS requests to various authoritative name servers todetermine the requested domain name information.

A response can also include a packet, cell, message, or signal used fortransmitting domain name information. A Uniform Resource Locator (URL)identifies resources available through network hosts. Some examples ofURLs are http—HTTP resources, https—HTTP over SSL, ftp—File TransferProtocol, mailto—E-mail address, ldap—Lightweight Directory AccessProtocol lookups, file—resources available on the local computer or overa local file sharing network, news—Usenet newsgroups, gopher—the Gopherprotocol, telnet—the TELNET protocol, and data—the Data: URL scheme forinserting small pieces of content in place. Typically, a URL includesdomain names that form a portion of the URL.

Each nameserver can also provide all or part of the subscriberinformation for the cluster or other types of storage can be used. Thesubscriber information in each cluster provides an indication to therecursive DNS servers of how to resolve requests for domain nameinformation for different senders, owners, users, or subscribingentities associated with requests for domain name information. Examplesof subscriber information include preferences, rules, policies, regularexpressions, and the like.

In response to a DNS request for domain name information associated witha domain name, a recursive DNS nameserver within a cluster can determinea subscriber identifier. A subscriber identifier discriminates thesender, owner, user, or subscribing entity associated with the requestfor domain name information. Some examples of a subscriber identifierare IP addresses, userid's, and secure tokens. If an IP addressidentifier is used, the recursive DNS nameserver can inspect the networkpacket containing the request to determine the source IP address of thepacket. A username or secure token may be included in the request fordomain information from which the recursive DNS nameserver determinesthe subscriber identifier and the subscriber information. In oneexample, a device or application on a subscriber's network is setup tomodify DNS requests to include such identifiers.

In various embodiments, an extension of the DNS protocol called EDNS mayallow more flags, label types and return codes to be defined. EDNS mayallow the sender of a DNS message (e.g., client device 112) to advertiseits own extended capabilities to the message receiver (e.g., DNSnameserver 332). This may be accomplished through the inclusion of anOPT pseudo-RR in the additional data section of a request or response.The OPT pseudo-RR may include one or more EDNS options. In one example,a client device 312 can supply a device ID to DNS nameserver 332. Forexample, a DEVICE ID resource record (RR) may be provided in theadditional section of a DNS query. The RR can appear in the DNS query'sadditional section, causing DNS nameserver 332 to interpret the lasteight octets of the section as a device ID. The device ID can act as anindex into a database of subscriber information associated with DNSnameserver 332. Other subscriber identifiers and techniques fordetermining the same can be used.

A subscriber is generally an individual and/or entity that agrees toservice conditions of an operator of a recursive DNS cluster 330.Subscribers may range from entities operating large networks 310, suchas those provided by a wireless service providers or large corporations,to individuals having a home internet connection. It is noted that whilesubscriber networks 310 are depicted with multiple client devices 312,that is not required. In a simple example, the subscriber may operate asingle personal computer with an internet connection. Embodiments inaccordance with the present disclosure may be applied in any type ofenvironment.

The recursive DNS nameserver resolves a particular request for domainname information based on the subscriber information to generate aresponse in one embodiment. The recursive DNS nameserver then returnsthe response to the subscriber or a user associated with a subscriber,providing the resolved domain name information in accordance with thesubscriber information. By way of example, a substitute network (e.g.,IP) address that satisfies a substitution criterion for the domain namein the request for domain name information may be obtained.

In addition to determining an IP address for a domain name, nameservers332 may use network records 352 and/or user records 354 in subscriberdatabase 350 to determine a particular IP address to resolve for a givendomain name. The network and user records may specify one or more DNSresolution options, filters, features or other techniques fordetermining what IP address to resolve for a given domain name. Forexample, in providing DNS services to the DNS client, the DNS serversmay provide resolved domain name information or redirect the DNS clientto another location based on subscriber information stored at the DNSservers that indicates how an end user wants the DNS servers to employthe DNS resolutions options or features. In various examples, the DNScluster may provide various DNS resolution options or features, such asmisspelling redirection, parental filters, domain blocking, or phishingprotection through the DNS process.

In some embodiments, a user or subscriber of a service provided by theDNS cluster may set one or more preferences or selections for how theoptions are to be enabled or otherwise applied when a DNS nameserver 332resolves DNS queries associated with the user. Preferences or settingsfor a user or subscriber may be stored as subscriber information atsubscriber database 350 or in one or more storage devices accessible tothe DNS cluster 330. Upon identifying the user, subscriber informationassociated with the user may be used to alter the IP address in a DNSresponse that the user receives. For example, a user or subscriber mayestablish subscriber information that instructs the DNS nameserver toalter responses to DNS requests that are associated with adult websites, potential phishing or pharming sites, and other sites deemedinappropriate by the user or to which the user wishes to block or filteraccess, etc. Web server 334 and nameserver 332 each have access tosubscriber database 350. In FIG. 3, the web server and nameserverutilize a single database but individual databases containing the sameinformation may be used in other embodiments.

Network records 352 specify preferences or selections for resolvingdomain name queries associated with a particular subscriber's network ornetworks 310. The subscriber may specify resolution preferences thatwill apply to all traffic originating at their network 310 in oneembodiment. DNS nameserver 332 can use a network identifier, such as anIP address from which the DNS query was issued, to determine acorresponding network record 352. A subscriber may set permissions andpreferences in network records to indicate that certain preferences canbe bypassed by particular users of the subscriber's network. Forexample, an administrator for a corporate network 310 may set up networkrecords 352 to allow certain users of network 310 to bypass particularpreferences in the network records, such as those blocking access tocertain domains. Alternatively or additionally, permissions andpreferences for overriding network preferences may be included in userrecords 354.

User records 354 include subscriber information for individual users orentities using the services of DNS cluster 330. An individual user mayspecify resolution preferences or selections that will apply toindividual DNS requests issued by the user. DNS nameserver 332 can use asubscriber identifier such as a userid, token or other identifier todetermine a corresponding user record 354 for a particular request. Aswill be described in more detail hereinafter, the user records may notbe used in some examples by the DNS nameservers 332, but used byidentification service 338 and/or block page service 336 in processinguser resource requests. User records and network records may be usedtogether to determine a set of permissions or preferences for applyingto any individual request for domain name information, or requests foractual resources as will be explained hereinafter. For example, a usermay set a preference in a user record allowing access to a certaincategory of domains, while a network record may indicate that users arenot allowed to override the network preference set by the subscriber. Inthis manner, the nameservers 332, block page service 336 and/oridentification service 338 operating as set forth below may use bothtypes of records in responding to a resource request or DNS request.This permits a user to define a set of user preferences that can beapplied when using different subscriber networks 310.

The domain name records in cache 340 may be associated with or havetherein one or more flags. A flag can be any indicator, marking, orsymbol associated with a domain name. For example a binary indicatorstored in the domain name record can be used. A flag may be used toidentify any type of information for a particular domain. For example, aflag may be used to mark a domain name as suspicious or untrustworthy,such as a site engaged in pharming or phishing activities. A flag mayalso indicate that a domain hosts illegal material, hate speech,pornography, material related to drugs or alcohol, or otherwiseobjectionable material that a subscriber does not wish to access orpermit access to. Any number of flags can be used to create any numberof categorizations for domain names. For example, flags denoting variouslevels of adult material may be used to classify domain according totheir age-appropriateness. Flags can also be set in domain name recordsto cause requests for a particular domain to be proxied. This can allowa subscriber to have traffic for certain domain names proxied, forexample for logging, auditing and the like, while traffic for all otherdomains is not proxied.

When a request for domain name information is received, the DNSnameserver 332 resolves the domain name query using the subscriberinformation and any flags in the domain name record. For example, anetwork record for a DNS request may set a preference that a particularcategory of domains or a particular domain is to be blocked from accessby devices on the network. If a DNS request is for a domain having aflag matching such a preference in the network record, the DNSnameserver may generate a DNS response with a substitute IP address thatdirects the client device to an alternate domain. In one example, theDNS nameserver provides the client device with domain name informationassociated with block page service 336 on web server 334. In response tothe client device's resource request, the block page service can providea block or landing page to the client device, for example, informing theuser that the requested domain is not accessible on their network. Theblock or landing page refers generally to any resource or informationprovided by the block page service in response to a request for a targetdomain that is not an actual resource provided by the target domain.

Because of the unique and differing communication protocols employed byDNS nameservers and web servers, provision is made to facilitate thecorrelation or tracking of DNS requests received at DNS nameserver 332with corresponding resource requests received at web server 334.Identification service 338 is provided in one embodiment to facilitatethe transmission of information from recursive DNS nameserver 332 to webserver 334 through and using client 312, specifically through the use ofdomain name responses and resource redirects to convey subscriberinformation. For example, a user of a client device 312 and/orsubscriber network 310 can be associated with a subscriber ID insubscriber database 350. The recursive DNS nameserver may use thesubscriber ID to determine subscriber information such as a networkrecord 352 or user record 354 that is used in resolving a DNS request.In some instances, the user may be provided with domain name informationfor block page service 336, such as when a requested domain is to beblocked or proxied according to the subscriber information.Identification service 338 facilitates the determination of a subscriberID associated with a resource request that is received at web server 334as a result of recursive DNS nameserver providing the domain nameinformation for block page service 336. Identification service 338 cancommunicate with recursive DNS nameserver 332 through a client 312 thatis communicating with the nameserver 332 using the DNS protocol and webserver 334 using a standard resource-based protocol such as HTTP. Asubscriber ID and/or subscriber information can be transmitted from thenameserver 332 to the web server 334 using the client device 312,without requiring input from the user or active authentication by theuser in one embodiment.

The transmission of information from the nameserver to the web serverpermits block page service 336 to utilize user records 354 and networkrecords 352 in response to resource requests that result from the nameserver 332 providing domain name information for the block page servicein response to requests for a requested domain. Identification service338 can seamlessly determine a subscriber ID or other information fromname server 332 during the client's resource request. In one example,name server 332, in response to DNS requests for the domain ofidentification service 338, responds by encoding within the IP addressprovided in response to the DNS request, information identifying theuser or subscriber issuing the request. When identification service 338receives the resource request having the IP address provided by nameserver 332, it can determine the information relating to the subscriberprovided by DNS name server 332.

FIG. 4 is a diagram depicting traffic between a client device 312located at a subscriber network 310, and various components of DNScluster 330 when resolving a request for domain name information in oneembodiment. A subscriber, via a client device 312, issues domain namesystem request 402 to one of the recursive DNS name servers 332. In thisparticular example, request 402 is for the domain name information of adomain “request.eee.”

In response to request 402, name server 332 obtains domain nameinformation (e.g., “002.000.000.000”) for the requested domain name. Thename server may acquire a domain name record for the requested domainname from cache 340 in one example. If a domain name record is notavailable for the requested domain name, the name server may recursivelyresolve the domain name information by issuing a request to one or moreroot, authoritative and/or other recursive domain name servers.

The nameserver also determines a subscriber ID associated with the DNSrequest. In one example, the nameserver determines a userid or tokenpassed with the DNS request as earlier described. Using the subscriberID, the nameserver obtains subscriber information, including a networkrecord and/or user record from database 350, for a particular subscriberassociated with the DNS request. The user and network records can becorrelated to determine if the individual subscriber is permitted accessto the requested domain when on the particular subscriber network 310.In this example, the requested domain is associated with one or moreflags corresponding to one or more preferences of the subscriberindicating that the domain name information should not be provided. Forexample, the network record associated with the IP address may indicatethat no subscribers from that network may access the requested domainor/and the user record may indicate that the subscriber does not wish tobe provided with domain name information associated with that particulardomain. Accordingly, nameserver 332 does not provide the domain nameinformation (“002.000.000.000”) for the requested domain name, butinstead provides DNS response 404 with domain name information(“000.000.000.000”) for block page service 336 at web server 334.

Next, block page service 336 receives a resource request 406 (e.g.,HTTP). The request includes a resource locator (“request.eee”) forrequested domain 322, but domain name information for block page service(“BPS”) 336. As a result, BPS 336 examines the request to determine if asubscriber ID is included. For example, BPS 336 may receive a cookie orother predetermined identifier for the BPS domain including thesubscriber ID as described below. In this example, BPS 336 is unable todetermine the subscriber ID and in turn, issues a resource reply 408containing an HTTP or other redirect to identification service 338. Anexample redirect is shown where the reply includes a redirect resourcelocator “ident.eee/$=request.eee.” The redirect locator redirects theclient device to the identification service at “ident.eee.” The redirectlocator also includes the original request locator “request.eee”provided in request 406 so that the original request can be trackedthrough the various components of the DNS cluster.

Client 312 receives response 408 including redirection to theidentification service. Client 312 issues DNS request 410 to nameserver332 for the domain name information of the identification service(“ident.eee). Nameserver 332 is configured to institute a subscriberidentification lookup and embed operation in reply to DNS queriesidentified for the identification service. In reply to a DNS query 410for the identification service, nameserver 332 determines a subscriberidentifier associated with the DNS request. Determining the subscriberID may be performed as described with respect to DNS query 402.

In reply to DNS query 410, nameserver 332 issues a DNS reply havingdomain name information for the identification service 338. In additionto providing domain name information for the identification service, thenameserver provides information relating to the subscriber such as thesubscriber ID or a portion thereof. In one example, nameserver 332embeds at least a portion of the subscriber ID into the domain nameinformation for the identification service. For example, nameserver 332may embed the subscriber identifier into the IP address provided in DNSreply 412.

As shown in FIG. 4, identification service 338 is associated with IPaddresses 001.000.000.001 through 001.000.000.254. That is, any resourcerequest to an address in this range will be routed to web server 334. Inthis simplified example, subscriber identifiers may be established usingbase 10 numerical representations between 1 and 254. The nameserver canthen use the last octet of the IP address provided for DNS queries for“ident.eee” to return the subscriber identifier as part of the domainname information in the reply. In this simplified example using 254subscriber identifiers and 254 individual IP addresses for the“ident.eee” domain, a one-to-one transference can be obtained todirectly embed the entire subscriber identifier into the IP address asthe last octet of the IP address. In the example of FIG. 4, clientdevice 312 is associated with a subscriber having a subscriberidentifier (sub) equal to 123₁₀. Accordingly, nameserver 332 sets thelast octet of the IP address for ident.eee to “123” and generates DNSreply 412 to client 312 with the IP address “001.000.000.123” as therequested domain name information for the identification service. Thesubscriber identifier may be embedded in other portions of the IPaddress in other examples.

After receiving DNS reply 412, client 312 issues a resource request 414to identification service 338. The resource request includes theredirect URL (“ident.eee/$=request.eee”) provided by BPS 336 in response408 and the IP address (“001.000.000.123”) provided by nameserver 332for the domain name information in reply 412. Identification service 338retrieves the IP address specified in the resource request and isolatesthe last octet of the IP address in order to determine the subscriberidentifier. Having determined the subscriber identifier, theidentification service 338 generates a response 416 having informationabout the subscriber included therein. Response 416 includes an HTTPredirect to BPS 336. The redirect specifies a URL including the BPSdomain (“block.eee”) and indicating the original resource request(“request.eee”) provided by client 312. The identification service alsogenerates an identifier for the BPS domain having the subscriberidentifier therein. For example, the HTTP redirect may include a cookiefor the block page service containing the subscriber identifier (“123”).Client device 312 then issues a DNS query 418 to nameserver 332 fordomain name information for the block page service. Nameserver 332generates a reply 420 with the domain name information(“000.000.000.000”) for the block page service.

Client 312 issues resource request 422 to the block page service.Request 422 includes a resource locator for BPS 336 that also indicatesthe original resource from request 406. Additionally, request 422includes the identifier (e.g., cookie) passed to the client device 312from identification service 338 with response 416. BPS 336 accesses thecookie to determine the subscriber identifier. Having determined thesubscriber identifier, BPS 336 accesses subscriber database 350 anddetermines any user records 354 and/or network records 352 that matchthe subscriber identifier. It is noted that a network record may bedetermined by BPS 336 using the source IP address of the resourcerequest rather than a subscriber ID in one example. BPS 336 uses thesubscriber information to determine how to respond to the request forthe requested domain 322. For example, BPS 336 may determine what flags,etc. are associated with the requested domain name and correlate thoseflags with any preferences in a user record 352 and/or network record354. BPS 336 may use this information to determine if the subscriberassociated with the subscriber ID is permitted access to the requesteddomain from the particular subscriber network 310. If the subscriber ispermitted access, a redirect to the requested domain can be provided,including a cookie that indicates the subscriber may access therequested domain. If the subscriber is not permitted access, a block orlanding page can be provided to the client device.

In FIG. 4, BPS 336 generates an example response 424 that includes alanding page indicating to the subscriber that they are not permittedaccess to the requested domain. The response or landing page can becustomized based on the user record 352 and/or network record 354 in oneexample. For instance, the landing page may be customized withinformation the subscriber wishes to provide when domain requests areblocked. For example, an explanation of the reasons for blocking can beprovided in accordance with subscriber preferences. In FIG. 4, thecustomized landing page is indicated as “block.eee/block&id=123.html,”conceptually illustrating a landing page that is based on the subscriberidentifier “123.” In another example, response 424 may include anotherredirect to an alternate URL indicated in the subscriber information.For example, a subscriber may provide a URL to which requests forblocked domains are to be redirected. For example, a company subscribermay provide a company URL to redirect requests for blocked domains thatoriginate from a company network.

FIG. 5 is a flowchart describing a method of processing domain namerequests by a recursive DNS nameserver in accordance with one embodimentof the present disclosure. For example, the process of FIG. 5 may beused by nameserver 332 to generate a response 404 to a DNS query 402 asshown in FIG. 4. At step 502, the DNS nameserver 332 receives a requestfor domain name information from a client device 312. At step 504, theDNS nameserver determines a subscriber identifier associated with theDNS request. In one example, the DNS nameserver parses the DNS requestfor the source IP address which is used as the subscriber identifier. Inanother example, a token or the subscriber ID itself may be passed withthe DNS request. At step 506, the DNS nameserver uses the subscriberidentifier to obtain a corresponding network record 352 and/or userrecord 354 from database 350. At step 508, the DNS nameserver obtainsthe requested domain name information. Step 508 may include determiningthe domain in the request and checking cache 340 for a domain namerecord corresponding to the requested domain. If the cache contains adomain name record for the requested domain and the record is notexpired, the DNS nameserver obtains the cached domain name record. Ifthe cache does not contain a domain name record for the requested domainor if the domain name record is expired, the DNS nameserver attempts toretrieve the domain name information using one or more authoritativeand/or root DNS nameservers.

After obtaining the domain name information, the DNS nameserverdetermines whether there are any flags associated with the requesteddomain and if so, correlates the flags with the preferences in thenetwork record 352 at step 510. Step 510 includes determining whetherthe domain name information for the requested domain includes anyidentifiers corresponding to preferences in the network record. Forexample, step 510 may include determining an age-rating for the domainand comparing that with an age-rating preference in the network record.

If any of the flags correlate to preferences in the network record, theDNS nameserver determines if any of the flags and corresponding networkpreferences indicate that the traffic to the domain should be filteredat step 512. In one embodiment, step 512 includes determining whetherthe network records indicate that the requested domain should be blockedfor requests from the subscriber's network. Step 512 may also includedetermining whether the records indicate that traffic for the requesteddomain should be proxied, but access still allowed.

If the domain name information contains a flag indicating that therequested domain should be proxied or blocked, the DNS nameserver issuesa DNS response at step 514 with domain name information for the blockpage service 336 at web server 334. If the domain is not to be blockedor proxied for the subscriber's network, the DNS nameserver issues a DNSresponse at step 516 with domain name information for the requesteddomain.

FIG. 6 is a flowchart describing a method for processing domain namerequests by a DNS nameserver that includes adding subscriber informationto a DNS reply. In one example, the method of FIG. 6 may be used asshown in FIG. 4 to receive a DNS query 410 for the identificationservice 338 and return a response 412 including subscriber information.

At step 550, the DNS nameserver receives the request for domain nameinformation of the identification service. The DNS name server isconfigured to automatically reply to a request for domain nameinformation of the identification service by the processing shown instep 552-562. Recall that in FIG. 4, the block page service 336responded to a resource request for the requested domain by generating aresponse with a redirect to the identification service 338. In responseto that redirect to the identification service, client device 312 issuesa DNS request for domain name information for the identification servicethat is received at step 550.

At step 552, the DNS nameserver determines the subscriber identifierassociated with the DNS request as earlier described. At step 554, theDNS nameserver optionally accesses subscriber information based on thesubscriber identifier. In one embodiment, the nameserver may providesubscriber information in addition the subscriber identifier that isprovided in the DNS response. At step 556, the DNS nameserver obtainsthe domain name information for the identification service. At step 558,the nameserver converts the subscriber identifier into a suitable formatfor transmission to the client device if necessary. For example, thenameserver may convert a binary subscriber identifier into a base 10representation suitable for embedding in an IP address. Optionally thename server may convert the subscriber information into a formatsuitable for transmission. In other embodiments, a conversion may not berequired at step 558 where the subscriber ID and/or information isalready in a format suitable for transmission. At step 560, the DNSnameserver embeds the subscriber identifier and optionally anysubscriber information into the domain name information for theidentification service. In one embodiment the subscriber identifier isembedded into the IP address for the identification service. Forexample, the last octet of the IP address for the identification servicethat is provided to the client device may include or be a representationof the subscriber identifier. At step 562, the nameserver generates aDNS response including the domain name information for theidentification service and having embedded therein the subscriberidentifier. As will be described more fully hereinafter, multipleiterations of domain name information requests to the name server and IPaddresses with embedded subscriber identifier data may be used, such aswhere the last octet of the IP address or other portion of the domainname information used to embed the subscriber identifier is notsufficient to include the entire subscriber identifier.

FIG. 7 is a flowchart describing a method for determining a subscriberidentifier by the identification service 338 in one example. In oneembodiment, the process of FIG. 7 can be performed when receiving aresource request 414 and generating a reply 416 as shown in FIG. 4.

At step 602 the identification service receives a resource requesthaving domain name information with at least a portion of an embeddedsubscriber identifier. At step 604 the identification service determineswhether all parts of the subscriber identifier have been received. Inone example, a subscriber identifier can be entirely embedded orotherwise included within a single DNS response from nameserver 332 asshown in FIG. 4. In other examples, however, the subscriber identifiermay be too large to be embedded entirely within a single DNS response.Accordingly, the identification service 338 can be preconfigured with anindication of how many resource requests from client devices arerequired in order to obtain the entire subscriber identifier from theDNS nameserver. Consider an example where the subscriber identifier is a32-bit binary number and the last octet of an IP address is used toconvey the subscriber identifier information from a nameserver to anidentification service. Often, the last octet of an IP address mayinclude usable values of 1 to 254 (base 10). Using the discreetindividual values of 1 to 254, 7 binary bits may be conveyed using thebase 10 values 1 to 254 for the last octet of the IP address. In thisexample, five individual communications between the nameserver andidentification service may be required to transmit the full 32 bits ofthe subscriber identifier. Accordingly, the domain name server mayselect the last 7 bits of the subscriber identifier (the leastsignificant 7 bits), convert them from binary to a base 10representation between 1 and 254 and then transmit the representation tothe client 312 as part of the domain name information. The client willthen provide the information to the identification service when issuinga resource request. This process can be repeated four additional timesto convey the required 32 bits of data between the name server andidentification service.

Accordingly at step 604 the identification service determines whetherall parts of the subscriber identifier have been received. If all partsof the subscriber identifier have not been received, the identificationservice generates a unique URL for the identification service at step606. The unique URL includes any previously received portions of thesubscriber identifier, as well as an identifier noting which part of thesubscriber identifier is being requested. At step 608, theidentification service generates a response including a redirect to theidentification service with the unique URL. In response to the redirect,the client issues a DNS query to the nameserver passing the new URL. Thenameserver will recognize the request part identifier to determine whichportion of the subscriber identifier to embed in the DNS domain nameinformation that will be included in the next DNS reply.

If all parts of the subscriber identifier have been received, theidentification service reconstructs and converts (if necessary) thesubscriber identifier at step 610. The unique URL includes anypreviously received portions of the subscriber ID as just described.Upon receiving the final resource request at step 602 and determiningthat all parts of the subscriber identifier have been received at step604, the identification service can combine the previously receivedportions from the URL with the newly indicated portion to reconstructthe entire subscriber identifier. If necessary, the subscriberidentifier can be converted, such as to convert a base 10 representationto a base 2 representation. At step 612, the identification servicegenerates an identification cookie for the block page service thatincludes the reconstructed subscriber identifier. At step 614, theidentification service generates a response to the client including aredirect to the block page service and passing the block page servicecookie to the client device.

FIG. 8 is a diagram depicting another example of traffic between thecomponents of FIG. 3 when a iterative process is used to conveysubscriber information between a nameserver and identification serviceas described in FIG. 7. In this example, the subscriber identifier ismaintained as a binary number by the DNS cluster. In this specificexample, the subscriber identifier is a 16-bit binary number, with theparticular subscriber at client 312 being “1011001001101110” which isequivalent to “45678₁₀”.

As with FIG. 3 and not repeated in FIG. 8, a DNS request for requesteddomain 322 is received at DNS nameserver 332 from client 312. Nameserver332 responds with domain name information for block page service 336. Aresource request 406 for “request.eee” is then received at BPS 338 fromclient 312. BPS 336 responds with a redirect URL to identificationservice 338 as in FIG. 3. Here however, in order to facilitate theiterative process, the redirect at 408 includes a part identifier “a”preceding the “ident.eee” domain to indicate that the redirect is forthe first part of the subscriber identifier.

Client 312 then issues DNS query 410 to nameserver 332 requesting thedomain name information for “a.ident.eee.” Nameserver 332 examines theDNS query and determines that the request is for the identificationservice. Nameserver 332 recognizes the “a” indication preceding thedomain name and correlates this with the transmission of the first partof the subscriber identifier. Accordingly, the nameserver extracts thefinal 7 bits (“1101110”) of the subscriber identifier and converts themto their base 10 representation (“110”). Having extracted the final 7bits of the subscriber identifier and converted it to a decimalrepresentation, the nameserver generates an IP address(“001.000.000.110”) for the identification service having the finaloctet (“110”) equal to the decimal representation of the first 7 bits ofthe identifier. Nameserver 332 then issues DNS reply 412 to the clienthaving the generated IP address.

Client 312 then issues a resource request to the identification service,passing the redirect URL (“a.ident.eee/&=request.eee”) and the IPaddress “001.000.000.110” having the final octet corresponding to thesubscriber identifier. The identification service recognizes the URL asindicating that the IP address contains the first part of the subscriberidentifier corresponding to the final 7 bits. Accordingly, theidentification service extracts the last octet of the IP address andgenerates another redirect for the client device. For the redirect, theidentification service generates the URL “110.b.ident.eee/&request.eee.”The redirect URL includes the notation “b” as an indication to thenameserver that the second part of the subscriber identifier is beingrequested. The redirect URL also includes the first part of thesubscriber identifier “110” that was received in request 414.Identification service 338 then provides the redirect 416 to the clientdevice with the generated URL.

Client 312 then issues DNS request 450 to nameserver 332 for the domainname information of “b.ident.eee.” The nameserver determines that thesecond part of the subscriber identifier is being requested from thenotation “b.” Accordingly, the nameserver determines the subscriberidentifier associated with the request and then extracts the second setof 7 bits (“1100100”) from the subscriber identifier. The nameserverconverts these bits from binary to base 10 (“100”). The nameserver thengenerates the domain name information for the identification serviceincluding the second part of the subscriber identifier as the finaloctet. The nameserver issues reply 452 to the client device with thegenerated URL having the subscriber information.

Client 312 then issues resource request 454 to the identificationservice. The request includes the redirect URL“110.b.ident.eee/&=request.eee” and the IP address “000.000.000.100.”The identification service determines from the notation “b” that thelast octet of the IP address includes the second part of the subscriberidentifier. Accordingly, the identification service extracts the finaloctet and generates a final redirect URL to determine the final part ofthe subscriber identifier. The identification service adds the notation“c” in place of “b” to the received URL and appends the second part ofthe subscriber identifier “100” to the front of the URL to generate theredirect URL “100.110.c.ident.eee/&=request.eee.” The redirect response456 is then issued to client 312.

Client 312 then issues DNS request 458 to nameserver 332 for the domainname information of “c.ident.eee.” The nameserver determines that thethird part of the subscriber identifier is being requested from thenotation “c.” Accordingly, the nameserver determines the subscriberidentifier associated with the request and then extracts the first twobits (“10”) from the subscriber identifier. The nameserver convertsthese bits from binary to base 10 (“2”). The nameserver then generatesthe domain name information for the identification service including thefirst part of the subscriber identifier as the final octet. Thenameserver issues reply 460 to the client device with the generated URLhaving the subscriber information.

Client 312 then issues resource request 462 to the identificationservice. The request includes the redirect URL“100.110.c.ident.eee/&=request.eee” and the IP address “000.000.000.2.”The identification service determines from the notation “c” that thelast octet of the IP address includes the first part of the subscriberidentifier. Accordingly, the identification service extracts the finaloctet to determine the final part of the subscriber identifier. Theidentification service then reconstructs the subscriber identifier. Eachof the subscriber portions are converted back to their binaryrepresentations and then put together to reconstruct the originalidentifier “1011001001101110.”

After reconstructing the subscriber identifier, the identificationservice generates a cookie for the BPS domain that contains thereconstructed subscriber identifier. The identification service alsogenerates a redirect URL (block.eee/&=request.eee) back to the BPS. Theredirect and cookie are then passed to the client in response 464.

FIG. 9 is a flowchart describing a method of processing requests forblocked or filtered domains as may be performed by the block pageservice 336 in one embodiment. The process of FIG. 9 may be performedfor a request issued by a client device after obtaining a DNS responsegenerated by nameserver 332 at step 514 of FIG. 5 in one embodiment.

At step 652, a resource request for a requested domain name is receivedat the block page service 336. Step 652 is often an HTTP requestspecifying the requested domain and a network resource hosted at thatdomain, but any suitable protocol for requesting network resources maybe used. At step 654, block page service 336 checks the resource requestto determine the domain being requested. If the block page servicedetermines that the BPS domain is being requested, the service inspectsthe request to determine whether an identification cookie for thesubscriber is included at step 656. If the resource request includes anidentification cookie, the block page service accesses subscriberinformation based on the subscriber identifier at step 658. For example,the block page service may access database 350 to determine one or morenetwork records and/or user records associated with the subscriber ID.After obtaining the subscriber information, the block page servicegenerates a response to the resource request at step 660. The responsegenerated at step 660 is based on the subscriber information obtained instep 658.

Returning to step 656, if the user does request the block page servicein the resource request received at step 602, but does not include anidentification cookie, the block page service generates a responseredirecting the client device to identification service 338 at step 672.

Returning to step 654, if the block page service determines that therequested domain is not that of the block page service, the block pageservice inspects the resource request for a bypass cookie correspondingto the requested domain. A bypass cookie may be generated for therequested domain and be previously set on the client device by the blockpage service to indicate that the particular subscriber is allowedaccess to the requested domain. In such an instance the block pageservice may issue a redirect to the client device for the requesteddomain and place a cookie on the client device for the requested domain.The client device will then issue a resource request to the block pageservice for the requested domain and pass the cookie. Using the cookie,the block page service can determine if the user is permitted access tothe requested domain and in turn proxy the user's request by issuing itsown request to the requested domain and then replying to the user withthe requested information.

If there is no bypass cookie present for the requested domain, the blockpage service returns to step 656 to determine whether an identificationcookie for the subscriber is present. If a bypass cookie for therequested domain is present, the block page service can proxy therequest for the network resources set forth in step 664-670. A bypasscookie passed with the resource request will be set for the requesteddomain, not the domain of the block page service. The block page serviceissues a request for the network resource from the requested domain atstep 664. Step 664 may include obtaining domain name information for therequested domain from local cache 340 or by resolving the domain name.At step 666 the block page service receives the network resource fromthe requested domain and issues a response to the client device at step668 with the resource from the requested domain. The block page servicemay optionally log the traffic for auditing, etc. at step 670. Step 670can include logging and associating the traffic with a particular userof client device 312 or only with a subscriber network 310 if the useris not authenticated.

FIG. 10 is a diagram depicting another example of traffic between thecomponents of FIG. 3, illustrating an example where the block pageservice proxies requests on behalf of a subscriber based on subscriberinformation. Processing proceeds as described with respect to FIG. 3,with the block page service receiving resource request 422, specifyingthe block page service by the URL “block.eee/&=request.eee,” passing acookie for the block page service that specifies the subscriberidentifier (“123”), and using the IP address “000.000.000.000” for theblock page service. As earlier described, BPS 336 receives the requestand in response to the BPS resource request, extracts the subscriberidentifier “123” from the cookie. The BPS utilizes the identifier todetermine subscriber information associated with the subscriberidentifier. In this example, the subscriber information indicates thatthe particular subscriber is permitted access to the requested domain“request.eee.” As such, BPS 336 generates response 424 with an HTTPredirect to the requested resource. BPS 336 also generates a cookie forthe requested domain and passes that cookie to the client with theresponse.

After receiving response 424, client 312 generates a resource request480, including a destination URL “request.eee” corresponding to theoriginal request 406. Client 312 issues the request with the IP address“000.000.000.000” corresponding to BPS 336 based on the domain nameresponse 404 which earlier provided the domain name information for theBPS in response to the resource request for the requested domain. If theclient has purged its cache of the domain name information, another DNSquery may be provided to the nameserver 332 which will again return thedomain name information for the BPS based on the subscriber information.

Unlike resource request 406, resource request 480 includes the cookiepassed to the client 312 from BPS 338 with response 424. BPS 338determines from the cookie that the subscriber is permitted access tothe requested domain “request.eee.” Accordingly, BPS 338 issues aresource request 482 to the requested domain 322 on behalf of client312. Resource request includes the requested resource from the client'soriginal resource request 406. Request 482, however, includes the domainname information “002.000.000.000” for the requested domain. In responseto request 482, the requested domain returns a resource (e.g.,content.html) to BPS 336. BPS 336 in turn, issues a response 486 to theclient device 312, passing the requested resource received from domain322.

FIG. 11 is a high level block diagram of a computing system which can beused to implement any of the computing devices of FIG. 3. The computingsystem of FIG. 11 includes processor 80, memory 82, mass storage device84, peripherals 86, output devices 88, input devices 90, portablestorage 92, and display system 94. For purposes of simplicity, thecomponents shown in FIG. 11 are depicted as being connected via a singlebus 96. However, the components may be connected through one or moredata transport means. In one alternative, processor 80 and memory 82 maybe connected via a local microprocessor bus, and the mass storage device84, peripheral device 86, portable storage 92 and display system 94 maybe connected via one or more input/output buses.

Processor 80 may contain a single microprocessor, or may contain aplurality of microprocessors for configuring the computer system as amultiprocessor system. Memory 82 stores instructions and data forprogramming processor 80 to implement the technology described herein.In one embodiment, memory 82 may include banks of dynamic random accessmemory, high speed cache memory, flash memory, other nonvolatile memory,and/or other storage elements. Mass storage device 84, which may beimplemented with a magnetic disc drive or optical disc drive, is anonvolatile storage device for storing data and code. In one embodiment,mass storage device 84 stores the system software that programsprocessor 80 to implement the technology described herein. Portablestorage device 92 operates in conjunction with a portable nonvolatilestorage medium, such as a floppy disc, CD-RW, flash memory card/drive,etc., to input and output data and code to and from the computing systemof FIG. 11. In one embodiment, system software for implementingembodiments is stored on such a portable medium, and is input to thecomputer system via portable storage medium drive 92.

Peripheral devices 86 may include any type of computer support device,such as an input/output interface, to add additional functionality tothe computer system. For example, peripheral devices 86 may include oneor more network interfaces for connecting the computer system to one ormore networks, a modem, a router, a wireless communication device, etc.Input devices 90 provide a portion of a user interface, and may includea keyboard or pointing device (e.g. mouse, track ball, etc.). In orderto display textual and graphical information, the computing system ofFIG. 9 will (optionally) have an output display system 94, which mayinclude a video card and monitor. Output devices 88 can includespeakers, printers, network interfaces, etc. Device 100 may also containcommunications connection(s) 112 that allow the device to communicatewith other devices via a wired or wireless network. Examples ofcommunications connections include network cards for LAN connections,wireless networking cards, modems, etc. The communication connection(s)can include hardware and/or software that enables communication usingsuch protocols as DNS, TCP/IP, UDP/IP, and HTTP/HTTPS, among others.

The components depicted in the computing system of FIG. 11 are thosetypically found in computing systems suitable for use with thetechnology described herein, and are intended to represent a broadcategory of such computer components that are well known in the art.Many different bus configurations, network platforms, operating systemscan be used. The technology described herein is not limited to anyparticular computing system.

The technology described herein, including the identification and blockpage services, can be implemented using hardware, software, or acombination of both hardware and software. The software used is storedon one or more of the processor readable storage devices described above(e.g, memory 82, mass storage 84 or portable storage 92) to program oneor more of the processors to perform the functions described herein. Theprocessor readable storage devices can include non-transitory, tangiblecomputer readable media such as volatile and non-volatile media,removable and non-removable media. Tangible computer readable media maybe implemented in any method or technology for storage of informationsuch as computer readable instructions, data structures, program modulesor other data. Examples of tangible computer readable media include RAM,ROM, EEPROM, flash memory or other memory technology, CD-ROM, digitalversatile disks (DVD) or other optical disk storage, magnetic cassettes,magnetic tape, magnetic disk storage or other magnetic storage devices,or any other non-transitory, tangible medium which can be used to storethe desired information and which can be accessed by a computer. Inalternative embodiments, some or all of the software can be replaced bydedicated hardware including custom integrated circuits, gate arrays,FPGAs, PLDs, and special purpose computers. In one embodiment, software(stored on a storage device) implementing one or more embodiments isused to program one or more processors. The one or more processors canbe in communication with one or more tangible computer readablemedia/storage devices, peripherals and/or communication interfaces. Inalternative embodiments, some or all of the software can be replaced bydedicated hardware including custom integrated circuits, gate arrays,FPGAs, PLDs, and special purpose computers.

FIG. 12 is a block diagram depicting the structure of a domain nameresource record that can be stored in the local cache at the recursiveDNS clusters. Each resource record includes a name field 902, a TTLfield 904, a class field 906, a type field 908, an RDLENGTH field 910and an RDATA field 912. As earlier described, the TTL field sets themaximum amount of time for maintaining the resource record before itshould be treated as invalid and expired. In accordance with oneembodiment, the RDATA field is used for various flags that may be set bythe recursive nameservers to indicate some additional information aboutthe domain in addition to the standard DNS specified information. A flagcan be any indicator, marking or symbol associated with a domain name,such as a binary indicator in part of the RDATA field. The flags mayhave various functions, including but not limited to marking domainnames as suspicious or untrustworthy, such as a web site associated withphishing activities. Flags may be used to indicate various types andlevels of information. For information, social networking orpornographic web pages may be flagged so that the nameserver can providealternate or additional information when a client issues a request.

FIG. 13 is a block diagram depicting the structure of a DNS messageresponse or request 950. A DNS message includes a header field 952, aquestion field 954, an answer field 956, an authority field 958 and anadditional field 960. The question field indicates the question for (orrequest) of the name server in a DNS request. The answer field in a DNSresponse includes one or more resource records answering a question froma DNS request. The authority field includes one or more resource recordspointing to an authority. The additional field is structured like aresource record and can include various types of information, such asthe subscriber identifier as described above.

The foregoing detailed description has been presented for purposes ofillustration and description. It is not intended to be exhaustive or tolimit the invention to the precise form disclosed. Many modificationsand variations are possible in light of the above teachings. Thedescribed embodiments were chosen in order to best explain theprinciples of the invention and its practical application to therebyenable others skilled in the art to best utilize the invention invarious embodiments and with various modifications as are suited to theparticular use contemplated. It is intended that the scope of theinvention be defined by the claims appended hereto.

What is claimed is:
 1. A method comprising: receiving, at a block page service, a resource request from a first subscriber of a domain name system (DNS) resolution service, the resource request is for a requested domain; determining, by the block page service, if the requested domain in the resource request is a block page service domain, which is a domain of the block page service; if the block page service domain is the requested domain, determining, by the block page service, if the resource request includes a subscriber identifier for the first subscriber; if it is determined that the resource request includes the subscriber identifier, accessing, by the block page service, subscriber information from a subscriber database based on the subscriber identifier; and generating, by the block page service, a response to the resource request based on the subscriber information.
 2. The method of claim 1, wherein if the resource request does not include the subscriber identifier for the first subscriber, further comprising: generating a response to the first subscriber with a redirect to an identification service.
 3. The method of claim 1, wherein if requested domain of the resource request does not contain a request for the block page service domain, further comprising: inspecting the resource request for a bypass cookie corresponding to the requested domain.
 4. The method of claim 3, wherein the determining if the resource request includes the subscriber identifier for the first subscriber is performed after it is determined that the bypass cookie for the requested domain is not present in the resource request.
 5. The method of claim 3, wherein, if the bypass cookie for the requested domain is present in the resource request, further comprising: issuing a request to the requested domain for network resources associated with the requested domain, and receiving, from the requested domain, the network resources associated with the requested domain.
 6. The method of claim 5, further comprising: issuing, to the first subscriber, a response with the network resources associated with the requested domain.
 7. The method of claim 6, further comprising: logging and associating network traffic with a particular user of the first subscriber.
 8. An apparatus comprising: a network interface unit configured to enable network communications; and a processor coupled to the network interface unit, and configured to: receive a resource request from a first subscriber of a domain name system (DNS) resolution service, the resource request is for a requested domain; determine if the requested domain in the resource request is a block page service domain, which is a domain of the apparatus; if the block page service domain is the requested domain, determine if the resource request includes a subscriber identifier for the first subscriber; if it is determined that the resource request includes the subscriber identifier, access subscriber information from a subscriber database based on the subscriber identifier; and generate a response to the resource request based on the subscriber information.
 9. The apparatus of claim 8, wherein if the resource request does not include the subscriber identifier for the first subscriber, the processor is further configured to: generate a response to the first subscriber with a redirect to an identification service.
 10. The apparatus of claim 8, wherein if the requested domain of the resource request does not contain a request for the block page service domain, the processor is further configured to: inspect the resource request for a bypass cookie corresponding to the requested domain.
 11. The apparatus of claim 10, wherein the processor is configured to determine if the resource request includes the subscriber identifier for the first subscriber after it is determined that the bypass cookie for the requested domain is not present in the resource request.
 12. The apparatus of claim 10, wherein, if the bypass cookie for the requested domain is present in the resource request, the processor is further configured to: issue a request to the requested domain for network resources associated with the requested domain, and receive, from the requested domain, the network resources associated with the requested domain.
 13. The apparatus of claim 12, the processor further configured to: issue, to the first subscriber, a response with the network resources associated with the requested domain.
 14. The apparatus of claim 13, the processor further configured to: log and associate traffic with a particular user of the first subscriber.
 15. One or more non-transitory computer readable storage media, the computer readable storage media being encoded with software comprising computer executable instructions, and when the software is executed, operable to: receive, at a block page service, a resource request from a first subscriber of a domain name system (DNS) resolution service, the resource request is for a requested domain; determine, by the block page service, if the requested domain in the resource request is a block page service domain, which is a domain of the block page service; if the block page service domain is the requested domain, determine, by the block page service, if the resource request includes a subscriber identifier for the first subscriber; if it is determined that the resource request includes the subscriber identifier, access, by the block page service, subscriber information from a subscriber database based on the subscriber identifier; and generate, by the block page service, a response to the resource request based on the subscriber information.
 16. The computer readable storage media of claim 15, wherein if the resource request does not include the subscriber identifier for the first subscriber, further comprising instructions configured to: generate a response to the first subscriber with a redirect to an identification service.
 17. The computer readable storage media of claim 15, wherein if the requested domain of the resource request does not contain a request for the block page service domain, further comprising instructions configured to: inspect the resource request for a bypass cookie corresponding to the requested domain.
 18. The computer readable storage media of claim 17, wherein the instructions are operable to determine if the resource request includes the subscriber identifier for the first subscriber after it is determined that the bypass cookie for the requested domain is not present in the resource request.
 19. The computer readable storage media of claim 17, wherein, if the bypass cookie for the requested domain is present in the resource request, further comprising instructions configured to: issue a request to the requested domain for network resources associated with the requested domain, and receive, from the requested domain, the network resources associated with the requested domain.
 20. The computer readable storage media of claim 19, further comprising instructions configured to: issue, to the first subscriber, a response with the network resources associated with the requested domain. 